Edit your bot connection

The following procedure describes how you can edit your bot connection.

To edit your bot connection:

  1. In the Navigation pane, select Bot connections.

  1. Click the Edit button corresponding to the bot that you want to edit; the Edit Bot dialog box appears with the Details tab selected.

  1. You can modify the following:

    1. In the 'Bot connection name' field, change the name of the bot connection if required.

    2. In the 'Bot URL' field, change the name of the bot connection URL.

You can copy the Bot ID, by clicking .

  1. Click the Settings tab.

If you're editing a bot using the AudioCodes API framework, you can switch the interaction type between the Chat API and the Streaming API. If you select the Streaming API, you must also enable voice streaming in the Settings tab.

  1. Do the following:

    1. From the 'Text-to-speech service' drop-down list, select the text-to-speech service.

    2. From the 'Speech-to-text service' drop-down list, select the speech-to-text service.

    3. From the 'Language' drop-down list, select the language.

      For the Deepgram speech service, you determine the language in the Advanced tab.

      Example of setting language to Latvian:

    4. From the 'Voice name' drop-down list, select the voice name.

    5. Under the Additional Settings group, click the Barge-in toggle switch and the DTMF toggle switch to enable these features. For more information, see Managing Features.

    6. In the 'Max call duration' field, enter the maximum call duration (in minutes). If the call has not ended by the time this duration elapses, Live Hub ends the call. The valid value is 0 to 43200. The default is 0 (i.e., no limit to call).

      The maximum call duration configured for your account can't be exceeded (see Configure maximum call duration). For example, if you configured a maximum call duration of 30 minutes for your account and you configure a maximum call duration of 40 minutes for this bot, Live Hub applies a maximum call duration of 30 minutes to the bot (instead of 40).

    7. By default, Live Hub sends specific SIP headers received in the INVITE request to the bot in the start message. However, you can customize this initial message to include additional SIP headers and their values, or even overwrite the value of a specific SIP header that is sent by default. Under the SIP header to Bot group, click Add; the following appears.



      i)    In the 'SIP Header' field, either enter or select a SIP header.
      ii)   In the 'Bot Parameter' field, enter the bot parameter.
      iii)  Click the blue plus icon to save these fields.

  2. Click the Features tab, and then select the feature for your bot by clicking the toggle switch to turn it on.

  3. Click the Outbound Calling tab- for more information, see Outbound calling.

  4. Click the Advanced tab.

  1. You can configure your bot using the JSON editor, see the following:

  2. When typing, you can view auto-complete options, by pressing the Ctrl + Spacebar keys. Only if your JSON syntax is valid, does the Update button become available.

  3. Click the Info tab to display the bot interface's public IP address. You can add this IP address to your firewall's whitelist. You can copy it, by clicking .

  1. Click Update to accept all your changes, and then click Close to close the dialog box.